<script setup>
import commonAlert from '../../components/common-alert.vue';
import { ref } from 'vue';
const isShowRemark = ref(false);
const remark = ref('');
const desc = ref('');

</script>
<template>
  <view class='blocka' @click="isShowRemark = true">
    testA
    <commonAlert :show.sync="isShowRemark" title="请输入备注1" @onOk="desc = remark">
			<view class="remark">
				<textarea class="remark-inner" v-model="remark" maxlength="100" />
				<view class="remark-max">{{ remark.length }}/100</view>
			</view>
		</commonAlert>
  </view>
</template>
<style scoped lang='scss'> 
.blocka{
  font-size: 40rpx;
  color: #5e5edb;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100rpx;
  width: 100rpx;
}
</style>